var ProgressBar = function(idProgressBar)
{
	this.progressBar = $(idProgressBar);
	this.idContainer = '#div_Map_ProgressBar_Container';
	this.idProgressBar = '#div_Map_ProgressBar';
	
	this.setProgress = function(progress, event)
	{
		//event.stopPropagation();
		event.preventDefault();
		event.stopPropagation();
	    var progressBarWidth = progress*$(this.idContainer).width()/ 100;  
	    $(this.idProgressBar).width(progressBarWidth).html(progress + "% ");
	};
};

var progressBar = new ProgressBar('#div_Map_ProgressBar_Main');